﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000919 RID: 2329
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HHOKBPHNFNE : IMessage<HHOKBPHNFNE>, IMessage, IEquatable<HHOKBPHNFNE>, IDeepCloneable<HHOKBPHNFNE>, IBufferMessage
	{
		// Token: 0x17001D72 RID: 7538
		// (get) Token: 0x06006864 RID: 26724 RVA: 0x00117CD0 File Offset: 0x00115ED0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HHOKBPHNFNE> Parser
		{
			get
			{
				return HHOKBPHNFNE._parser;
			}
		}

		// Token: 0x17001D73 RID: 7539
		// (get) Token: 0x06006865 RID: 26725 RVA: 0x00117CD7 File Offset: 0x00115ED7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HHOKBPHNFNEReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001D74 RID: 7540
		// (get) Token: 0x06006866 RID: 26726 RVA: 0x00117CE9 File Offset: 0x00115EE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HHOKBPHNFNE.Descriptor;
			}
		}

		// Token: 0x06006867 RID: 26727 RVA: 0x00117CF0 File Offset: 0x00115EF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HHOKBPHNFNE()
		{
		}

		// Token: 0x06006868 RID: 26728 RVA: 0x00117D03 File Offset: 0x00115F03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HHOKBPHNFNE(HHOKBPHNFNE other) : this()
		{
			this.nOPJINFMFEI_ = other.nOPJINFMFEI_.Clone();
			this.areaId_ = other.areaId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006869 RID: 26729 RVA: 0x00117D39 File Offset: 0x00115F39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HHOKBPHNFNE Clone()
		{
			return new HHOKBPHNFNE(this);
		}

		// Token: 0x17001D75 RID: 7541
		// (get) Token: 0x0600686A RID: 26730 RVA: 0x00117D41 File Offset: 0x00115F41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> NOPJINFMFEI
		{
			get
			{
				return this.nOPJINFMFEI_;
			}
		}

		// Token: 0x17001D76 RID: 7542
		// (get) Token: 0x0600686B RID: 26731 RVA: 0x00117D49 File Offset: 0x00115F49
		// (set) Token: 0x0600686C RID: 26732 RVA: 0x00117D51 File Offset: 0x00115F51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AreaId
		{
			get
			{
				return this.areaId_;
			}
			set
			{
				this.areaId_ = value;
			}
		}

		// Token: 0x0600686D RID: 26733 RVA: 0x00117D5A File Offset: 0x00115F5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HHOKBPHNFNE);
		}

		// Token: 0x0600686E RID: 26734 RVA: 0x00117D68 File Offset: 0x00115F68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HHOKBPHNFNE other)
		{
			return other != null && (other == this || (this.nOPJINFMFEI_.Equals(other.nOPJINFMFEI_) && this.AreaId == other.AreaId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600686F RID: 26735 RVA: 0x00117DB8 File Offset: 0x00115FB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.nOPJINFMFEI_.GetHashCode();
			if (this.AreaId != 0U)
			{
				num ^= this.AreaId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006870 RID: 26736 RVA: 0x00117E05 File Offset: 0x00116005
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006871 RID: 26737 RVA: 0x00117E0D File Offset: 0x0011600D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006872 RID: 26738 RVA: 0x00117E18 File Offset: 0x00116018
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.nOPJINFMFEI_.WriteTo(ref output, HHOKBPHNFNE._repeated_nOPJINFMFEI_codec);
			if (this.AreaId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.AreaId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006873 RID: 26739 RVA: 0x00117E68 File Offset: 0x00116068
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.nOPJINFMFEI_.CalculateSize(HHOKBPHNFNE._repeated_nOPJINFMFEI_codec);
			if (this.AreaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AreaId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006874 RID: 26740 RVA: 0x00117EBC File Offset: 0x001160BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HHOKBPHNFNE other)
		{
			if (other == null)
			{
				return;
			}
			this.nOPJINFMFEI_.Add(other.nOPJINFMFEI_);
			if (other.AreaId != 0U)
			{
				this.AreaId = other.AreaId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006875 RID: 26741 RVA: 0x00117F09 File Offset: 0x00116109
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006876 RID: 26742 RVA: 0x00117F14 File Offset: 0x00116114
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U && num != 42U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.AreaId = input.ReadUInt32();
					}
				}
				else
				{
					this.nOPJINFMFEI_.AddEntriesFrom(ref input, HHOKBPHNFNE._repeated_nOPJINFMFEI_codec);
				}
			}
		}

		// Token: 0x040027D6 RID: 10198
		private static readonly MessageParser<HHOKBPHNFNE> _parser = new MessageParser<HHOKBPHNFNE>(() => new HHOKBPHNFNE());

		// Token: 0x040027D7 RID: 10199
		private UnknownFieldSet _unknownFields;

		// Token: 0x040027D8 RID: 10200
		public const int NOPJINFMFEIFieldNumber = 5;

		// Token: 0x040027D9 RID: 10201
		private static readonly FieldCodec<uint> _repeated_nOPJINFMFEI_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x040027DA RID: 10202
		private readonly RepeatedField<uint> nOPJINFMFEI_ = new RepeatedField<uint>();

		// Token: 0x040027DB RID: 10203
		public const int AreaIdFieldNumber = 9;

		// Token: 0x040027DC RID: 10204
		private uint areaId_;
	}
}
